import request from '@/config/axios'

//获得信息配置列表
export const infoList = async (params) => {
  return await request.get({
    url: '/amp/info-conf/list',
    params
  })
}
//获得信息配置列表
export const infoPage = async (params) => {
  return await request.get({
    url: '/amp/info-conf/page',
    params
  })
}
//获得信息配置列表
export const infoUpdateBatch = async (data) => {
  return await request.put({
    url: '/amp/info-conf/updateBatch',
    data
  })
}
//获得关联字段
export const infoRelevanceTree = async (data) => {
  return await request.get({
    url: '/amp/info-conf/relevanceTree',
    data
  })
}
